<?php 
	echo "<p>$_SESSION[prenom] $_SESSION[nom]</p>";
	$id = $_SESSION["id"];
	$idImg = DB::select("select idimgprofil from agenda_utilisateur where iduser = $id");
	$idImg = $idImg[0]->idimgprofil;
?>
<img alt="Photo profil" src="image/profil/<?php echo $idImg;?>.jpg">
<ul>
	<li><a href="contact.php?idcontact=<?php echo $_SESSION["id"];?>">Informations profil</a></li>
	<li><a href="./accueil.php">Mes agendas</a></li>
	<li><a href="./listeContacts.php">Mes contacts</a></li> 
</ul>